package com.oscar.ehome.bean.teamBean;

import com.oscar.ehome.provider.teamlist.PinYinUtils;

/**
 * Created by juxing
 * author: MengWanhe
 * date: On 2017/7/21
 */

public class CusourTeamBean {

    //姓名
    private String mname;
    //拼音
    private String pinyin;
    //拼音首字母
    private String headerWord;

    public CusourTeamBean(String mname) {
        this.mname = mname;
        this.pinyin = PinYinUtils.getPinyin(mname);
        headerWord = pinyin.substring(0, 1);
    }

    public String getPinyin() {
        return pinyin;
    }

    public String getName() {
        return mname;
    }

    public void setName(String mname) {
        this.mname = mname;
    }

    public String getHeaderWord() {
        return headerWord;
    }

}
